package com.edu.service.impl;

import com.edu.javaBean.Department;
import com.edu.javaBean.User;
import com.edu.mapper.SchedulingMapper;
import com.edu.service.SchdulingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SchdulingServiceImpl implements SchdulingService {
    @Autowired
    private SchedulingMapper scheMapper;
    public List<Department> getScheduDepts(String vistiDate, String noon) {
        return scheMapper.getScheduDepts(vistiDate,noon);
    }

    @Override
    public List<User> getSchedDocs(String scheddate, String noon, int deptid) {
        return scheMapper.getSchedDocs(scheddate,noon,deptid);
    }
}
